home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / xemacs / xemacs-1.004 / xemacs-1 / xemacs-19.13 / lisp / packages / column.elc < prev    next >
Emacs Compiled Lisp  |  1995-08-29  |  2.0 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
1% dexvert Combustion 2 Particle Library (other/combustion2ParticleLibrary) ext Unsupported
100% file Emacs/XEmacs v19 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default
100% xdgMime text/x-emacs-lisp default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 63 74 68 6f 6d 70 40 |piled by| cthomp@|
|00000020| 77 69 6c 6c 6f 77 2e 63 | 73 2e 75 69 75 63 2e 65 |willow.c|s.uiuc.e|
|00000030| 64 75 20 6f 6e 20 54 75 | 65 20 41 75 67 20 32 39 |du on Tu|e Aug 29|
|00000040| 20 31 34 3a 31 31 3a 34 | 31 20 31 39 39 35 0a 3b | 14:11:4|1 1995.;|
|00000050| 3b 3b 20 66 72 6f 6d 20 | 66 69 6c 65 20 2f 78 65 |;; from |file /xe|
|00000060| 6d 61 63 73 2f 78 65 6d | 61 63 73 2d 31 39 2e 31 |macs/xem|acs-19.1|
|00000070| 33 2d 72 65 6c 65 61 73 | 65 2f 65 64 69 74 6f 72 |3-releas|e/editor|
|00000080| 2f 6c 69 73 70 2f 70 61 | 63 6b 61 67 65 73 2f 63 |/lisp/pa|ckages/c|
|00000090| 6f 6c 75 6d 6e 2e 65 6c | 0a 3b 3b 3b 20 65 6d 61 |olumn.el|.;;; ema|
|000000a0| 63 73 20 76 65 72 73 69 | 6f 6e 20 31 39 2e 31 33 |cs versi|on 19.13|
|000000b0| 20 58 45 6d 61 63 73 20 | 4c 75 63 69 64 2e 0a 3b | XEmacs |Lucid..;|
|000000c0| 3b 3b 20 62 79 74 65 63 | 6f 6d 70 20 76 65 72 73 |;; bytec|omp vers|
|000000d0| 69 6f 6e 20 32 2e 32 35 | 3b 20 31 2d 53 65 70 2d |ion 2.25|; 1-Sep-|
|000000e0| 39 34 2e 0a 3b 3b 3b 20 | 6f 70 74 69 6d 69 7a 61 |94..;;; |optimiza|
|000000f0| 74 69 6f 6e 20 69 73 20 | 6f 6e 2e 0a 3b 3b 3b 20 |tion is |on..;;; |
|00000100| 74 68 69 73 20 66 69 6c | 65 20 75 73 65 73 20 6f |this fil|e uses o|
|00000110| 70 63 6f 64 65 73 20 77 | 68 69 63 68 20 64 6f 20 |pcodes w|hich do |
|00000120| 6e 6f 74 20 65 78 69 73 | 74 20 69 6e 20 45 6d 61 |not exis|t in Ema|
|00000130| 63 73 20 31 38 2e 0a 0a | 28 69 66 20 28 61 6e 64 |cs 18...|(if (and|
|00000140| 20 28 62 6f 75 6e 64 70 | 20 27 65 6d 61 63 73 2d | (boundp| 'emacs-|
|00000150| 76 65 72 73 69 6f 6e 29 | 0a 09 20 28 6f 72 20 28 |version)|.. (or (|
|00000160| 61 6e 64 20 28 62 6f 75 | 6e 64 70 20 27 65 70 6f |and (bou|ndp 'epo|
|00000170| 63 68 3a 3a 76 65 72 73 | 69 6f 6e 29 20 65 70 6f |ch::vers|ion) epo|
|00000180| 63 68 3a 3a 76 65 72 73 | 69 6f 6e 29 0a 09 20 20 |ch::vers|ion).. |
|00000190| 20 20 20 28 73 74 72 69 | 6e 67 2d 6c 65 73 73 70 | (stri|ng-lessp|
|000001a0| 20 65 6d 61 63 73 2d 76 | 65 72 73 69 6f 6e 20 22 | emacs-v|ersion "|
|000001b0| 31 39 22 29 29 29 0a 20 | 20 20 20 28 65 72 72 6f |19"))). | (erro|
|000001c0| 72 20 22 54 68 69 73 20 | 66 69 6c 65 20 77 61 73 |r "This |file was|
|000001d0| 20 63 6f 6d 70 69 6c 65 | 64 20 66 6f 72 20 45 6d | compile|d for Em|
|000001e0| 61 63 73 20 31 39 2e 22 | 29 29 0a 0a 28 62 79 74 |acs 19."|))..(byt|
|000001f0| 65 2d 63 6f 64 65 20 22 | c0 c1 21 ac 82 c2 11 c0 |e-code "|..!.....|
|00000200| c3 21 ac 82 c2 13 c4 c1 | 21 88 c4 c3 21 87 22 20 |.!......|!...!." |
|00000210| 5b 62 6f 75 6e 64 70 20 | 63 75 72 72 65 6e 74 2d |[boundp |current-|
|00000220| 63 6f 6c 75 6d 6e 20 22 | 30 22 20 63 75 72 72 65 |column "|0" curre|
|00000230| 6e 74 2d 6c 69 6e 65 20 | 6d 61 6b 65 2d 76 61 72 |nt-line |make-var|
|00000240| 69 61 62 6c 65 2d 62 75 | 66 66 65 72 2d 6c 6f 63 |iable-bu|ffer-loc|
|00000250| 61 6c 5d 20 32 29 0a 28 | 66 73 65 74 20 27 63 75 |al] 2).(|fset 'cu|
|00000260| 72 72 65 6e 74 2d 6c 69 | 6e 65 20 23 5b 6e 69 6c |rrent-li|ne #[nil|
|00000270| 20 22 c0 c1 60 5c 22 69 | c2 55 ab 83 c1 aa 81 c2 | "..`\"i|.U......|
|00000280| c3 5c 5c 5c 5c 87 22 20 | 5b 63 6f 75 6e 74 2d 6c |.\\\\." |[count-l|
|00000290| 69 6e 65 73 20 31 20 30 | 20 2d 31 5d 20 33 20 22 |ines 1 0| -1] 3 "|
|000002a0| 5c 0a 52 65 74 75 72 6e | 20 74 68 65 20 76 65 72 |\.Return| the ver|
|000002b0| 74 69 63 61 6c 20 70 6f | 73 69 74 69 6f 6e 20 6f |tical po|sition o|
|000002c0| 66 20 70 6f 69 6e 74 20 | 69 6e 20 74 68 65 20 73 |f point |in the s|
|000002d0| 65 6c 65 63 74 65 64 20 | 77 69 6e 64 6f 77 2e 0a |elected |window..|
|000002e0| 20 20 20 46 69 72 73 74 | 20 6c 69 6e 65 20 69 6e | First| line in|
|000002f0| 20 74 68 65 20 62 75 66 | 66 65 72 20 69 73 20 30 | the buf|fer is 0|
|00000300| 2e 22 5d 29 0a 28 62 79 | 74 65 2d 63 6f 64 65 20 |."]).(by|te-code |
|00000310| 22 c0 c1 21 ac 82 c2 11 | c0 87 22 20 5b 62 6f 75 |"..!....|.." [bou|
|00000320| 6e 64 70 20 75 70 64 61 | 74 65 2d 63 6f 6c 75 6d |ndp upda|te-colum|
|00000330| 6e 2d 66 75 6e 63 74 69 | 6f 6e 20 23 5b 6e 69 6c |n-functi|on #[nil|
|00000340| 20 22 c0 69 21 11 c0 c2 | 20 21 12 c3 c4 20 21 87 | ".i!...| !... !.|
|00000350| 22 20 5b 69 6e 74 2d 74 | 6f 2d 73 74 72 69 6e 67 |" [int-t|o-string|
|00000360| 20 63 75 72 72 65 6e 74 | 2d 63 6f 6c 75 6d 6e 20 | current|-column |
|00000370| 63 75 72 72 65 6e 74 2d | 6c 69 6e 65 20 73 65 74 |current-|line set|
|00000380| 2d 62 75 66 66 65 72 2d | 6d 6f 64 69 66 69 65 64 |-buffer-|modified|
|00000390| 2d 70 20 62 75 66 66 65 | 72 2d 6d 6f 64 69 66 69 |-p buffe|r-modifi|
|000003a0| 65 64 2d 70 5d 20 32 5d | 5d 20 32 29 0a 28 64 65 |ed-p] 2]|] 2).(de|
|000003b0| 66 76 61 72 20 64 69 73 | 70 6c 61 79 2d 63 6f 6c |fvar dis|play-col|
|000003c0| 75 6d 6e 2d 6d 6f 64 65 | 20 6e 69 6c 20 22 5c 0a |umn-mode| nil "\.|
|000003d0| 53 68 6f 77 20 63 75 72 | 72 65 6e 74 20 63 6f 6c |Show cur|rent col|
|000003e0| 75 6d 6e 20 61 6e 64 20 | 6c 69 6e 65 20 69 6e 20 |umn and |line in |
|000003f0| 6d 6f 64 65 20 6c 69 6e | 65 20 69 66 20 6e 6f 6e |mode lin|e if non|
|00000400| 2d 6e 69 6c 2e 22 29 0a | 28 64 65 66 76 61 72 20 |-nil.").|(defvar |
|00000410| 64 69 73 70 6c 61 79 2d | 63 6f 6c 75 6d 6e 2d 66 |display-|column-f|
|00000420| 6f 72 6d 61 74 20 27 28 | 63 75 72 72 65 6e 74 2d |ormat '(|current-|
|00000430| 6c 69 6e 65 20 22 2f 22 | 20 63 75 72 72 65 6e 74 |line "/"| current|
|00000440| 2d 63 6f 6c 75 6d 6e 20 | 22 2d 2d 22 29 20 22 5c |-column |"--") "\|
|00000450| 0a 46 6f 72 6d 61 74 20 | 66 6f 72 20 64 69 73 70 |.Format |for disp|
|00000460| 6c 61 79 69 6e 67 20 74 | 68 65 20 6c 69 6e 65 20 |laying t|he line |
|00000470| 61 6e 64 20 63 6f 6c 75 | 6d 6e 20 69 6e 20 74 68 |and colu|mn in th|
|00000480| 65 20 6d 6f 64 65 20 6c | 69 6e 65 2e 22 29 0a 28 |e mode l|ine.").(|
|00000490| 62 79 74 65 2d 63 6f 64 | 65 20 22 c0 c1 5c 6e 42 |byte-cod|e "..\nB|
|000004a0| 44 13 c0 87 22 20 5b 64 | 69 73 70 6c 61 79 2d 63 |D..." [d|isplay-c|
|000004b0| 6f 6c 75 6d 6e 2d 6d 6f | 64 65 20 22 22 20 64 69 |olumn-mo|de "" di|
|000004c0| 73 70 6c 61 79 2d 63 6f | 6c 75 6d 6e 2d 66 6f 72 |splay-co|lumn-for|
|000004d0| 6d 61 74 20 64 69 73 70 | 6c 61 79 2d 63 6f 6c 75 |mat disp|lay-colu|
|000004e0| 6d 6e 2d 65 6e 74 72 79 | 5d 20 33 29 0a 28 64 65 |mn-entry|] 3).(de|
|000004f0| 66 76 61 72 20 64 69 73 | 70 6c 61 79 2d 63 6f 6c |fvar dis|play-col|
|00000500| 75 6d 6e 2d 61 66 74 65 | 72 20 22 29 25 5d 2d 2d |umn-afte|r ")%]--|
|00000510| 2d 2d 22 20 22 5c 0a 44 | 69 73 70 6c 61 79 20 63 |--" "\.D|isplay c|
|00000520| 6f 6c 75 6d 6e 20 61 66 | 74 65 72 20 74 68 69 73 |olumn af|ter this|
|00000530| 20 65 6c 65 6d 65 6e 74 | 20 69 6e 20 74 68 65 20 | element| in the |
|00000540| 6d 6f 64 65 20 6c 69 6e | 65 2e 22 29 0a 28 62 79 |mode lin|e.").(by|
|00000550| 74 65 2d 63 6f 64 65 20 | 22 08 09 9d ac 8c 5c 6e |te-code |".....\n|
|00000560| 09 9d 89 1b 08 0b 41 42 | a1 88 29 c4 c5 4d 87 22 |......AB|..)..M."|
|00000570| 20 5b 64 69 73 70 6c 61 | 79 2d 63 6f 6c 75 6d 6e | [displa|y-column|
|00000580| 2d 65 6e 74 72 79 20 6d | 6f 64 65 2d 6c 69 6e 65 |-entry m|ode-line|
|00000590| 2d 66 6f 72 6d 61 74 20 | 64 69 73 70 6c 61 79 2d |-format |display-|
|000005a0| 63 6f 6c 75 6d 6e 2d 61 | 66 74 65 72 20 65 6e 74 |column-a|fter ent|
|000005b0| 72 79 20 72 65 6d 6f 76 | 65 20 23 5b 28 69 74 20 |ry remov|e #[(it |
|000005c0| 6c 69 73 74 29 20 22 08 | ac 82 c1 87 5c 6e 08 40 |list) ".|....\n.@|
|000005d0| 3d ab 83 08 41 87 08 c3 | 5c 6e 08 41 5c 22 a1 88 |=...A...|\n.A\"..|
|000005e0| 08 87 22 20 5b 6c 69 73 | 74 20 6e 69 6c 20 69 74 |.." [lis|t nil it|
|000005f0| 20 72 65 6d 6f 76 65 5d | 20 34 5d 5d 20 34 29 0a | remove]| 4]] 4).|
|00000600| 28 66 73 65 74 20 27 64 | 69 73 70 6c 61 79 2d 63 |(fset 'd|isplay-c|
|00000610| 6f 6c 75 6d 6e 2d 6d 6f | 64 65 20 23 5b 28 26 6f |olumn-mo|de #[(&o|
|00000620| 70 74 69 6f 6e 61 6c 20 | 61 72 67 29 20 22 08 ac |ptional |arg) "..|
|00000630| 83 09 ac 87 c2 08 21 c3 | 58 ab 90 09 ad 9a c4 c5 |......!.|X.......|
|00000640| 0e 06 5c 22 88 c7 11 c8 | c9 20 21 87 09 3f ad 89 |..\"....|. !..?..|
|00000650| ca c5 0e 06 5c 22 88 cb | 89 11 87 22 20 5b 61 72 |....\"..|..." [ar|
|00000660| 67 20 64 69 73 70 6c 61 | 79 2d 63 6f 6c 75 6d 6e |g displa|y-column|
|00000670| 2d 6d 6f 64 65 20 70 72 | 65 66 69 78 2d 6e 75 6d |-mode pr|efix-num|
|00000680| 65 72 69 63 2d 76 61 6c | 75 65 20 30 20 72 65 6d |eric-val|ue 0 rem|
|00000690| 6f 76 65 2d 68 6f 6f 6b | 20 70 6f 73 74 2d 63 6f |ove-hook| post-co|
|000006a0| 6d 6d 61 6e 64 2d 68 6f | 6f 6b 20 75 70 64 61 74 |mmand-ho|ok updat|
|000006b0| 65 2d 63 6f 6c 75 6d 6e | 2d 66 75 6e 63 74 69 6f |e-column|-functio|
|000006c0| 6e 20 6e 69 6c 20 73 65 | 74 2d 62 75 66 66 65 72 |n nil se|t-buffer|
|000006d0| 2d 6d 6f 64 69 66 69 65 | 64 2d 70 20 62 75 66 66 |-modifie|d-p buff|
|000006e0| 65 72 2d 6d 6f 64 69 66 | 69 65 64 2d 70 20 61 64 |er-modif|ied-p ad|
|000006f0| 64 2d 68 6f 6f 6b 20 74 | 5d 20 33 20 22 5c 0a 54 |d-hook t|] 3 "\.T|
|00000700| 6f 67 67 6c 65 20 64 69 | 73 70 6c 61 79 20 63 6f |oggle di|splay co|
|00000710| 6c 75 6d 6e 20 6d 6f 64 | 65 2e 0a 57 69 74 68 20 |lumn mod|e..With |
|00000720| 70 72 65 66 69 78 20 61 | 72 67 2c 20 74 75 72 6e |prefix a|rg, turn|
|00000730| 20 64 69 73 70 6c 61 79 | 20 63 6f 6c 75 6d 6e 20 | display| column |
|00000740| 6d 6f 64 65 20 6f 6e 20 | 69 66 66 20 61 72 67 20 |mode on |iff arg |
|00000750| 69 73 20 70 6f 73 69 74 | 69 76 65 2e 0a 0a 57 68 |is posit|ive...Wh|
|00000760| 65 6e 20 64 69 73 70 6c | 61 79 20 63 6f 6c 75 6d |en displ|ay colum|
|00000770| 6e 20 6d 6f 64 65 20 69 | 73 20 6f 6e 2c 20 74 68 |n mode i|s on, th|
|00000780| 65 20 63 75 72 72 65 6e | 74 20 63 6f 6c 75 6d 6e |e curren|t column|
|00000790| 20 61 6e 64 20 6c 69 6e | 65 20 6e 75 6d 62 65 72 | and lin|e number|
|000007a0| 20 61 72 65 0a 64 69 73 | 70 6c 61 79 65 64 20 69 | are.dis|played i|
|000007b0| 6e 20 74 68 65 20 6d 6f | 64 65 20 6c 69 6e 65 2e |n the mo|de line.|
|000007c0| 22 20 22 50 22 5d 29 0a | 28 70 72 6f 76 69 64 65 |" "P"]).|(provide|
|000007d0| 20 27 63 6f 6c 75 6d 6e | 29 0a | 'column|). |
+--------+-------------------------+-------------------------+--------+--------+